home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xroach-v12 / roachmap.h < prev    next >
C/C++ Source or Header  |  1995-06-20  |  3KB  |  70 lines

  1.  
  2. /* @(#)roachmap.h    1.3 4/2/91 11:55:35 */
  3.  
  4. #include "roach000.xbm"
  5. #include "roach015.xbm"
  6. #include "roach030.xbm"
  7. #include "roach045.xbm"
  8. #include "roach060.xbm"
  9. #include "roach075.xbm"
  10. #include "roach090.xbm"
  11. #include "roach105.xbm"
  12. #include "roach120.xbm"
  13. #include "roach135.xbm"
  14. #include "roach150.xbm"
  15. #include "roach165.xbm"
  16. #include "roach180.xbm"
  17. #include "roach195.xbm"
  18. #include "roach210.xbm"
  19. #include "roach225.xbm"
  20. #include "roach240.xbm"
  21. #include "roach255.xbm"
  22. #include "roach270.xbm"
  23. #include "roach285.xbm"
  24. #include "roach300.xbm"
  25. #include "roach315.xbm"
  26. #include "roach330.xbm"
  27. #include "roach345.xbm"
  28.  
  29. #include "squish.xbm"
  30.  
  31. #define ROACH_HEADINGS    24    /* number of orientations */
  32. #define ROACH_ANGLE    15    /* angle between orientations */
  33.  
  34. typedef struct RoachMap {
  35.     char *roachBits;
  36.     Pixmap pixmap;
  37.     int width;
  38.     int height;
  39.     float sine;
  40.     float cosine;
  41. } RoachMap;
  42.  
  43. RoachMap roachPix[] = {
  44.     {roach000_bits, None, roach000_height, roach000_width, 0.0, 0.0},
  45.     {roach015_bits, None, roach015_height, roach015_width, 0.0, 0.0},
  46.     {roach030_bits, None, roach030_height, roach030_width, 0.0, 0.0},
  47.     {roach045_bits, None, roach045_height, roach045_width, 0.0, 0.0},
  48.     {roach060_bits, None, roach060_height, roach060_width, 0.0, 0.0},
  49.     {roach075_bits, None, roach075_height, roach075_width, 0.0, 0.0},
  50.     {roach090_bits, None, roach090_height, roach090_width, 0.0, 0.0},
  51.     {roach105_bits, None, roach105_height, roach105_width, 0.0, 0.0},
  52.     {roach120_bits, None, roach120_height, roach120_width, 0.0, 0.0},
  53.     {roach135_bits, None, roach135_height, roach135_width, 0.0, 0.0},
  54.     {roach150_bits, None, roach150_height, roach150_width, 0.0, 0.0},
  55.     {roach165_bits, None, roach165_height, roach165_width, 0.0, 0.0},
  56.     {roach180_bits, None, roach180_height, roach180_width, 0.0, 0.0},
  57.     {roach195_bits, None, roach195_height, roach195_width, 0.0, 0.0},
  58.     {roach210_bits, None, roach210_height, roach210_width, 0.0, 0.0},
  59.     {roach225_bits, None, roach225_height, roach225_width, 0.0, 0.0},
  60.     {roach240_bits, None, roach240_height, roach240_width, 0.0, 0.0},
  61.     {roach255_bits, None, roach255_height, roach255_width, 0.0, 0.0},
  62.     {roach270_bits, None, roach270_height, roach270_width, 0.0, 0.0},
  63.     {roach285_bits, None, roach285_height, roach285_width, 0.0, 0.0},
  64.     {roach300_bits, None, roach300_height, roach300_width, 0.0, 0.0},
  65.     {roach315_bits, None, roach315_height, roach315_width, 0.0, 0.0},
  66.     {roach330_bits, None, roach330_height, roach330_width, 0.0, 0.0},
  67.     {roach345_bits, None, roach345_height, roach345_width, 0.0, 0.0},
  68. };
  69.  
  70.